package com.shopping.bean;

import java.math.BigDecimal;

public class Orderinfo {
    private  int orderinfoid;
    private int orderid;
    private int productid;
    private int quantity;
    private BigDecimal price;

    @Override
    public String toString() {
        return "Orderinfo{" +
                "orderinfoid=" + orderinfoid +
                ", orderid=" + orderid +
                ", productid=" + productid +
                ", quantity=" + quantity +
                ", price=" + price +
                '}';
    }

    public int getOrderinfoid() {
        return orderinfoid;
    }

    public void setOrderinfoid(int orderinfoid) {
        this.orderinfoid = orderinfoid;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public int getProductid() {
        return productid;
    }

    public void setProductid(int productid) {
        this.productid = productid;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
